package com.annual.system.dto.enterpriseBusiness;

import com.annual.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class ReqEnterpriseBusinessListDto extends BaseEntity {

    @ApiModelProperty(value = "业务类型（1：执照年报 2：执照注销 3：信用修复）")
    private Integer type;

    @ApiModelProperty(value = "主体名称")
    @NotBlank(message="主体名称不能为空")
    private String enterpriseName;

    @ApiModelProperty(value = "信用代码")
    @NotBlank(message="信用代码不能为空")
    private String creditCode;

    @ApiModelProperty(value = "法人姓名")
    private String legalPersonName;

    @ApiModelProperty(value = "身份证号")
    private String idCard;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "创建开始时间（yyyy-MM-dd）")
    private String startTime;

    @ApiModelProperty(value = "创建结束时间(yyyy-MM-dd)")
    private String endTime;
}
